import {
	createRouter,
	createWebHashHistory
} from 'vue-router'

const router = createRouter({
	history: createWebHashHistory(import.meta.env.BASE_URL),
	routes: [{
		path: '/',
		name: 'mouseClick',
		component: () => import('../views/mouseClick.vue'),
	},
	{
		path: '/keyboardClick',
		name: 'keyboardClick',
		component: () => import('../views/keyboardClick.vue'),
	},
	{
		path: '/scriptRecording',
		name: 'scriptRecording',
		component: () => import('../views/scriptRecording.vue'),
	},
	{
		path: '/scriptManagement',
		name: 'scriptManagement',
		component: () => import('../views/scriptManagement.vue'),
	},
	{
		path: '/settings',
		name: 'settings',
		component: () => import('../views/settings.vue'),
	},
	{
		path: '/scriptRun/:path',
		name: 'scriptRun',
		component: () => import('../views/scriptRun.vue')
	},
	],
})
export default router